package com.example.websocketclusterspringbootstarter.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author zhucc
 * @date 2022-03-14
 */
@Data
@ConfigurationProperties("spring.ws")
public class NettySocketIoProperties {

    /**
     * socket默认端口
     */
    private Integer socketPort  = 8899;

    /**
     * socket默认路径
     */
    private String  contextPath = "/socket.io";
}
